/**
 * @Description:
 * @Author: saqqdy
 * @LastEditors: saqqdy
 * @Date: 2021-07-18 00:39:35
 * @LastEditTime: 2021-07-18 12:01:24
 */
import { join } from 'path'

export const mode = process.env.NODE_ENV ?? 'production'
export const isDevServer = process.env.WEBPACK_IS_DEV_SERVER === 'true'
export const isProd = mode === 'production'
export const isDev = !isProd
export const rootDir = join(__dirname, '../../')
export const webpackDir = join(__dirname, '../')
